package com.puti.doctor.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;

public class PatientRecordVo {
    private Long recordId;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;
    private BigDecimal recordPatientPay;
    private String patientName;
    private String recordDescription;
    private int healthAge;

    public PatientRecordVo() {
    }

    @Override
    public String toString() {
        return "PatientRecordVo{" +
                "recordId=" + recordId +
                ", recordTime=" + recordTime +
                ", recordPatientPay=" + recordPatientPay +
                ", patientName='" + patientName + '\'' +
                ", recordDescription='" + recordDescription + '\'' +
                ", healthAge=" + healthAge +
                '}';
    }

    public PatientRecordVo(Long recordId, Date recordTime, BigDecimal recordPatientPay, String patientName, String recordDescription, int healthAge) {
        this.recordId = recordId;
        this.recordTime = recordTime;
        this.recordPatientPay = recordPatientPay;
        this.patientName = patientName;
        this.recordDescription = recordDescription;
        this.healthAge = healthAge;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public BigDecimal getRecordPatientPay() {
        return recordPatientPay;
    }

    public void setRecordPatientPay(BigDecimal recordPatientPay) {
        this.recordPatientPay = recordPatientPay;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public String getRecordDescription() {
        return recordDescription;
    }

    public void setRecordDescription(String recordDescription) {
        this.recordDescription = recordDescription;
    }

    public int getHealthAge() {
        return healthAge;
    }

    public void setHealthAge(int healthAge) {
        this.healthAge = healthAge;
    }
}
